#6230C1#6230C1

#6230C1 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.209 H 291.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6230C1
RGBrgb(98, 48, 193)
HSLhsl(261, 60%, 47%)
HSVhsv(261, 75%, 76%)
CMYKcmyk(49.2%, 75.1%, 0%, 24.3%)
CIE-LABlab(35.12, 54.08, -67.45)
CIE-LCHlch(35.12, 86.45, 308.72°)
OKLaboklab(46.5% 0.0779 -0.1936)
OKLCHoklch(46.5% 0.209 291.9)
XYZxyz(15.7169, 8.5602, 51.2659)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230C1 #8FC130
analogous
#3046C1 #6230C1 #AB30C1
triadic
#6230C1 #C16230 #30C162
tetradic
#6230C1 #C13046 #8FC130 #30C1AB
square
#6230C1 #C13046 #8FC130 #30C1AB
split-complementary
#6230C1 #C1AB30 #46C130
monochromatic
#30185F #492490 #6230C1 #8459D6 #A88AE2

Accessibility & contrast

On white

7.74
#6230C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6230C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6230C1
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6230C1#FFFFFF#000000##FFFFFF
##6230C11.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0050BE
Tritanopia (blue-blind)
#435877
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6230c1;
/* rgb */ color: rgb(98, 48, 193);
/* oklch */ color: oklch(46.5% 0.209 291.9);
Tailwind
colors: {
  custom: {
    50: '#986ed5',
    500: '#6230c1',
    950: '#000000',
  },
}
SCSS
$custom: #6230c1;
$custom-light: #986ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#6230c1",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 260.69,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46502,
    "c": 0.20868,
    "h": 291.9
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#6230C1
secondary
#B2CC81
accent
#E344AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0714
muted
#7E7A83

Preview Lab

Preview with #6230C1

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

Preview Lab → · Contrast checker → · Palette generator →

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