#7234C1#7234C1

#7234C1 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.206 H 298.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7234C1
RGBrgb(114, 52, 193)
HSLhsl(266, 58%, 48%)
HSVhsv(266, 73%, 76%)
CMYKcmyk(40.9%, 73.1%, 0%, 24.3%)
CIE-LABlab(37.63, 54.84, -63.27)
CIE-LCHlch(37.63, 83.73, 310.92°)
OKLaboklab(48.69% 0.0977 -0.1808)
OKLCHoklch(48.69% 0.206 298.4)
XYZxyz(17.7906, 9.8834, 51.4121)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234C1 #83C134
analogous
#343CC1 #7234C1 #B834C1
triadic
#7234C1 #C17234 #34C172
tetradic
#7234C1 #C1343C #83C134 #34C1B8
square
#7234C1 #C1343C #83C134 #34C1B8
split-complementary
#7234C1 #C1B834 #3CC134
monochromatic
#391A61 #562791 #7234C1 #925ED4 #B38FE1

Accessibility & contrast

On white

7.05
#7234C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7234C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7234C1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234C1#FFFFFF#000000##FFFFFF
##7234C11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#5F5878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7234c1;
/* rgb */ color: rgb(114, 52, 193);
/* oklch */ color: oklch(48.7% 0.206 298.4);
Tailwind
colors: {
  custom: {
    50: '#a171d5',
    500: '#7234c1',
    950: '#000000',
  },
}
SCSS
$custom: #7234c1;
$custom-light: #a171d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7234c1",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 266.383,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48689,
    "c": 0.20555,
    "h": 298.4
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#7234C1
secondary
#ADCB86
accent
#E1479D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7234C1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7234C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva