#6230B5#6230B5

#6230B5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.195 H 294.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6230B5
RGBrgb(98, 48, 181)
HSLhsl(263, 58%, 45%)
HSVhsv(263, 73%, 71%)
CMYKcmyk(45.9%, 73.5%, 0%, 29%)
CIE-LABlab(34.08, 50.89, -62.08)
CIE-LCHlch(34.08, 80.27, 309.34°)
OKLaboklab(45.45% 0.0808 -0.1779)
OKLCHoklch(45.45% 0.195 294.4)
XYZxyz(14.4322, 8.0464, 44.4998)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230B5 #83B530
analogous
#3041B5 #6230B5 #A430B5
triadic
#6230B5 #B56230 #30B562
tetradic
#6230B5 #B53041 #83B530 #30B5A4
square
#6230B5 #B53041 #83B530 #30B5A4
split-complementary
#6230B5 #B5A430 #41B530
monochromatic
#2E1654 #482385 #6230B5 #8151D1 #A482DE

Accessibility & contrast

On white

8.05
#6230B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6230B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6230B5
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6230B5#FFFFFF#000000##FFFFFF
##6230B51.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#4A5370
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6230b5;
/* rgb */ color: rgb(98, 48, 181);
/* oklch */ color: oklch(45.4% 0.195 294.4);
Tailwind
colors: {
  custom: {
    50: '#966dcc',
    500: '#6230b5',
    950: '#000000',
  },
}
SCSS
$custom: #6230b5;
$custom-light: #966dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6230b5",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 262.556,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.19535,
    "h": 294.4
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#6230B5
secondary
#AAC77A
accent
#E146A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6230B5

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

Preview Lab → · Contrast checker → · Palette generator →

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