#CB93F7#CB93F7

#CB93F7 is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.4% C 0.150 H 309.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CB93F7
RGBrgb(203, 147, 247)
HSLhsl(274, 86%, 77%)
HSVhsv(274, 40%, 97%)
CMYKcmyk(17.8%, 40.5%, 0%, 3.1%)
CIE-LABlab(69.67, 39.28, -42.07)
CIE-LCHlch(69.67, 57.56, 313.03°)
OKLaboklab(75.44% 0.0944 -0.1167)
OKLCHoklch(75.44% 0.15 309)
XYZxyz(51.8477, 40.2800, 93.0211)
Luminance0.4028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93F7 #BFF793
analogous
#9993F7 #CB93F7 #F793F1
triadic
#CB93F7 #F7CB93 #93F7CB
tetradic
#CB93F7 #F79993 #BFF793 #93F1F7
square
#CB93F7 #F79993 #BFF793 #93F1F7
split-complementary
#CB93F7 #F1F793 #93F799
monochromatic
#9421EF #B05AF3 #CB93F7 #E6CCFB #F1E3FD

Accessibility & contrast

On white

2.32
#CB93F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CB93F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93F7
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93F7#FFFFFF#000000##000000
##CB93F71.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FB
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#C5A2B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb93f7;
/* rgb */ color: rgb(203, 147, 247);
/* oklch */ color: oklch(75.4% 0.150 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcb3fa',
    500: '#cb93f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb93f7;
$custom-light: #dcb3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93f7",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 247
  },
  "hsl": {
    "h": 273.6,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75439,
    "c": 0.15007,
    "h": 309
  },
  "luminance": 0.40279
}

Semantic roles & 50–950 ramp

primary
#CB93F7
secondary
#E4F5D6
accent
#E30365
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB93F7

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

Preview Lab → · Contrast checker → · Palette generator →

#CB93F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva