#7234C2#7234C2

#7234C2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.207 H 298.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7234C2
RGBrgb(114, 52, 194)
HSLhsl(266, 58%, 48%)
HSVhsv(266, 73%, 76%)
CMYKcmyk(41.2%, 73.2%, 0%, 23.9%)
CIE-LABlab(37.71, 55.09, -63.72)
CIE-LCHlch(37.71, 84.24, 310.84°)
OKLaboklab(48.77% 0.0975 -0.1822)
OKLCHoklch(48.77% 0.207 298.2)
XYZxyz(17.9025, 9.9281, 52.0016)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234C2 #84C234
analogous
#343DC2 #7234C2 #B934C2
triadic
#7234C2 #C27234 #34C272
tetradic
#7234C2 #C2343D #84C234 #34C2B9
square
#7234C2 #C2343D #84C234 #34C2B9
split-complementary
#7234C2 #C2B934 #3DC234
monochromatic
#391A61 #562792 #7234C2 #925FD4 #B38FE1

Accessibility & contrast

On white

7.03
#7234C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7234C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7234C2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234C2#FFFFFF#000000##FFFFFF
##7234C21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#5E5878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7234c2;
/* rgb */ color: rgb(114, 52, 194);
/* oklch */ color: oklch(48.8% 0.207 298.2);
Tailwind
colors: {
  custom: {
    50: '#a171d5',
    500: '#7234c2',
    950: '#000000',
  },
}
SCSS
$custom: #7234c2;
$custom-light: #a171d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7234c2",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 266.197,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48772,
    "c": 0.20662,
    "h": 298.2
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#7234C2
secondary
#ADCC86
accent
#E1479E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7234C2

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

Preview Lab → · Contrast checker → · Palette generator →

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