#6232D0#6232D0

#6232D0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.223 H 288.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6232D0
RGBrgb(98, 50, 208)
HSLhsl(258, 63%, 51%)
HSVhsv(258, 76%, 82%)
CMYKcmyk(52.9%, 76%, 0%, 18.4%)
CIE-LABlab(36.80, 57.18, -73.44)
CIE-LCHlch(36.80, 93.07, 307.90°)
OKLaboklab(48.09% 0.0723 -0.2112)
OKLCHoklch(48.09% 0.223 288.9)
XYZxyz(17.5594, 9.4311, 60.5574)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232D0 #A0D032
analogous
#3251D0 #6232D0 #B132D0
triadic
#6232D0 #D06232 #32D062
tetradic
#6232D0 #D03251 #A0D032 #32D0B1
square
#6232D0 #D03251 #A0D032 #32D0B1
split-complementary
#6232D0 #D0B132 #51D032
monochromatic
#33196E #4A25A0 #6232D0 #8864DB #AE96E7

Accessibility & contrast

On white

7.28
#6232D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6232D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232D0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232D0#FFFFFF#000000##FFFFFF
##6232D01.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#0053CD
Tritanopia (blue-blind)
#375F80
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6232d0;
/* rgb */ color: rgb(98, 50, 208);
/* oklch */ color: oklch(48.1% 0.223 288.9);
Tailwind
colors: {
  custom: {
    50: '#9a6fe0',
    500: '#6232d0',
    950: '#000000',
  },
}
SCSS
$custom: #6232d0;
$custom-light: #9a6fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#6232d0",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 208
  },
  "hsl": {
    "h": 258.228,
    "s": 62.698,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.22322,
    "h": 288.9
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#6232D0
secondary
#BDD28C
accent
#E642B4
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6232D0

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

Preview Lab → · Contrast checker → · Palette generator →

#6232D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva