#8238CF#8238CF

#8238CF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.218 H 301.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8238CF
RGBrgb(130, 56, 207)
HSLhsl(269, 61%, 52%)
HSVhsv(269, 73%, 81%)
CMYKcmyk(37.2%, 72.9%, 0%, 18.8%)
CIE-LABlab(41.34, 59.27, -65.28)
CIE-LCHlch(41.34, 88.18, 312.24°)
OKLaboklab(52.09% 0.1137 -0.1862)
OKLCHoklch(52.09% 0.218 301.4)
XYZxyz(21.8798, 12.0790, 60.1982)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8238CF #85CF38
analogous
#383ACF #8238CF #CE38CF
triadic
#8238CF #CF8238 #38CF82
tetradic
#8238CF #CF383A #85CF38 #38CFCE
square
#8238CF #CF383A #85CF38 #38CFCE
split-complementary
#8238CF #CFCE38 #3ACF38
monochromatic
#451B71 #6427A3 #8238CF #A169DB #C09BE7

Accessibility & contrast

On white

6.15
#8238CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8238CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8238CF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8238CF#FFFFFF#000000##FFFFFF
##8238CF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#715E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8238cf;
/* rgb */ color: rgb(130, 56, 207);
/* oklch */ color: oklch(52.1% 0.218 301.4);
Tailwind
colors: {
  custom: {
    50: '#ad75df',
    500: '#8238cf',
    950: '#000000',
  },
}
SCSS
$custom: #8238cf;
$custom-light: #ad75df;
$custom-dark: #000000;
JSON
{
  "hex": "#8238cf",
  "rgb": {
    "r": 130,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 269.404,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.2182,
    "h": 301.4
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#8238CF
secondary
#B2D390
accent
#E44495
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8238CF

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

Preview Lab → · Contrast checker → · Palette generator →

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