#6230B8#6230B8

#6230B8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.199 H 293.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6230B8
RGBrgb(98, 48, 184)
HSLhsl(262, 59%, 45%)
HSVhsv(262, 74%, 72%)
CMYKcmyk(46.7%, 73.9%, 0%, 27.8%)
CIE-LABlab(34.34, 51.69, -63.43)
CIE-LCHlch(34.34, 81.83, 309.17°)
OKLaboklab(45.71% 0.0801 -0.1819)
OKLCHoklch(45.71% 0.199 293.8)
XYZxyz(14.7433, 8.1708, 46.1384)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230B8 #86B830
analogous
#3042B8 #6230B8 #A630B8
triadic
#6230B8 #B86230 #30B862
tetradic
#6230B8 #B83042 #86B830 #30B8A6
square
#6230B8 #B83042 #86B830 #30B8A6
split-complementary
#6230B8 #B8A630 #42B830
monochromatic
#2E1757 #482387 #6230B8 #8253D2 #A584DF

Accessibility & contrast

On white

7.97
#6230B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6230B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6230B8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6230B8#FFFFFF#000000##FFFFFF
##6230B81.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#485471
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6230b8;
/* rgb */ color: rgb(98, 48, 184);
/* oklch */ color: oklch(45.7% 0.199 293.8);
Tailwind
colors: {
  custom: {
    50: '#976dce',
    500: '#6230b8',
    950: '#000000',
  },
}
SCSS
$custom: #6230b8;
$custom-light: #976dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6230b8",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 262.059,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.1987,
    "h": 293.8
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#6230B8
secondary
#ACC87C
accent
#E246A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6230B8

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

Preview Lab → · Contrast checker → · Palette generator →

#6230B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva