#7231C9#7231C9

#7231C9 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.217 H 297.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7231C9
RGBrgb(114, 49, 201)
HSLhsl(266, 61%, 49%)
HSVhsv(266, 76%, 79%)
CMYKcmyk(43.3%, 75.6%, 0%, 21.2%)
CIE-LABlab(37.83, 58.16, -67.62)
CIE-LCHlch(37.83, 89.20, 310.70°)
OKLaboklab(49.03% 0.0985 -0.1936)
OKLCHoklch(49.03% 0.217 297)
XYZxyz(18.5776, 9.9907, 56.1966)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7231C9 #88C931
analogous
#313CC9 #7231C9 #BE31C9
triadic
#7231C9 #C97231 #31C972
tetradic
#7231C9 #C9313C #88C931 #31C9BE
square
#7231C9 #C9313C #88C931 #31C9BE
split-complementary
#7231C9 #C9BE31 #3CC931
monochromatic
#3A1967 #562598 #7231C9 #935FD8 #B490E4

Accessibility & contrast

On white

7.00
#7231C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7231C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7231C9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7231C9#FFFFFF#000000##FFFFFF
##7231C91.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#5B5A7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7231c9;
/* rgb */ color: rgb(114, 49, 201);
/* oklch */ color: oklch(49.0% 0.217 297.0);
Tailwind
colors: {
  custom: {
    50: '#a270db',
    500: '#7231c9',
    950: '#000000',
  },
}
SCSS
$custom: #7231c9;
$custom-light: #a270db;
$custom-dark: #000000;
JSON
{
  "hex": "#7231c9",
  "rgb": {
    "r": 114,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 265.658,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.2172,
    "h": 297
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#7231C9
secondary
#B0CF87
accent
#E4449F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7231C9

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

Preview Lab → · Contrast checker → · Palette generator →

#7231C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva