#8231CF#8231CF

#8231CF is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.4% C 0.226 H 302.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8231CF
RGBrgb(130, 49, 207)
HSLhsl(271, 62%, 50%)
HSVhsv(271, 76%, 81%)
CMYKcmyk(37.2%, 76.3%, 0%, 18.8%)
CIE-LABlab(40.32, 62.18, -66.94)
CIE-LCHlch(40.32, 91.36, 312.89°)
OKLaboklab(51.37% 0.1198 -0.1911)
OKLCHoklch(51.37% 0.226 302.1)
XYZxyz(21.5640, 11.4474, 60.0929)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231CF #7ECF31
analogous
#3331CF #8231CF #CF31CD
triadic
#8231CF #CF8231 #31CF82
tetradic
#8231CF #CF3331 #7ECF31 #31CDCF
square
#8231CF #CF3331 #7ECF31 #31CDCF
split-complementary
#8231CF #CDCF31 #31CF33
monochromatic
#44196C #63259E #8231CF #A063DB #BE94E6

Accessibility & contrast

On white

6.38
#8231CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8231CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231CF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231CF#FFFFFF#000000##FFFFFF
##8231CF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#715A7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8231cf;
/* rgb */ color: rgb(130, 49, 207);
/* oklch */ color: oklch(51.4% 0.226 302.1);
Tailwind
colors: {
  custom: {
    50: '#ad72df',
    500: '#8231cf',
    950: '#000000',
  },
}
SCSS
$custom: #8231cf;
$custom-light: #ad72df;
$custom-dark: #000000;
JSON
{
  "hex": "#8231cf",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 270.759,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.22552,
    "h": 302.1
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#8231CF
secondary
#ADD18B
accent
#E54392
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8231CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8231CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva